package command

type tDotCmd struct {
	x int
	y int
}

func NewDotCmd(x int, y int) IDrawCommand {
	return &tDotCmd{
		x, y,
	}
}

func (me *tDotCmd) Draw(g IGraphics) {
	g.DrawDot(me.x, me.y)
}